package light.head.dao.inv;

import java.util.List;

import org.springframework.stereotype.Service;

import light.head.framework.base.BaseDAO;
import light.head.model.inv.InvAllocateDetail;
@Service
public class InvAllocateDetailDAO extends BaseDAO<InvAllocateDetail, Integer>{
	private final static String sql_findIaic = "FROM InvAllocateDetail detail WHERE detail.deleted = 0 AND detail.iaic = ?";
	/**
	 * 通过调拨明细编号查询调拨详情
	 * @param iisic		调拨明细编号
	 */
	public List<InvAllocateDetail> findIaic(Integer iaic) {
		if (null == iaic) return null;
		return find(sql_findIaic, null, null, iaic);
	}
}
